home *** CD-ROM | disk | FTP | other *** search
/ Word Play Farm / Word Play Farm.iso / pc / movies / shared.dxr / 00505_System setup and configuration function handlers.ls < prev    next >
Encoding:
Text File  |  1996-07-29  |  527 b   |  38 lines

  1. on initsystem
  2.   SetDefaults()
  3.   SetDataManagement()
  4.   ReadConfig()
  5.   go(1, "login")
  6. end
  7.  
  8. on CloseLibraries
  9.   if the machineType = 256 then
  10.     closeXLib("FileIO")
  11.   end if
  12. end
  13.  
  14. on CalcSectData pNum
  15.   return pNum + 1
  16. end
  17.  
  18. on GetSectName pSectCfg
  19.   return item 1 of pSectCfg
  20. end
  21.  
  22. on GetSectList pSectCfg
  23.   return item 2 of pSectCfg
  24. end
  25.  
  26. on GetSectAudio pSectCfg
  27.   return item 3 of pSectCfg
  28. end
  29.  
  30. on GetSectReward pSectCfg
  31.   return item 4 of pSectCfg
  32. end
  33.  
  34. on GetUserData pNum
  35.   global gUserData
  36.   return getAt(gUserData, pNum)
  37. end
  38.